home *** CD-ROM | disk | FTP | other *** search
- on exitFrame me
- global gMapList
- gMapList = MapMenuSetup()
- if the number of lines in gMapList > 1 then
- vPicName = "genericIntro.pct"
- vBanName = "genericbnr.pct"
- vBanName2 = "genericbnr2.pct"
- else
- case the machineType of
- 256:
- mapFilename = the pathname & "..\MTdata\" & line 1 of gMapList
- otherwise:
- mapFilename = the pathname & ":MTdata:" & line 1 of gMapList
- end case
- mapFile = new(xtra("fileIO"))
- openFile(mapFile, mapFilename, 1)
- if status(mapFile) = 0 then
- gMovieMap = readFile(mapFile)
- closeFile(mapFile)
- the itemDelimiter = ";"
- thePath = item 1 of line 1 of gMovieMap
- the itemDelimiter = ":"
- theCD = item 1 of line 1 of thePath
- vPicName = theCD & "Intro.pct"
- vBanName = theCD & "bnr.pct"
- vBanName2 = theCD & "bnr2.pct"
- else
- vPicName = "genericIntro.pct"
- vBanName = "genericbnr.pct"
- vBanName2 = "genericbnr2.pct"
- end if
- mapFile = 0
- end if
- if the machineType = 256 then
- member("TopicScreen").fileName = the pathname & "..\MTdata\pics\" & vPicName
- member("banner").fileName = the pathname & "..\MTdata\pics\" & vBanName
- member("banner2").fileName = the pathname & "..\MTdata\pics\" & vBanName2
- member("infoCoreCats").fileName = the pathname & "..\MTdata\pics\" & "infoCoreCats.pct"
- member("infoLegal").fileName = the pathname & "..\MTdata\pics\" & "infoLegal.pct"
- member("infoMusic").fileName = the pathname & "..\MTdata\pics\" & "infoMusic.pct"
- member("infoProduction").fileName = the pathname & "..\MTdata\pics\" & "infoProduction.pct"
- member("infoSpecialThanks").fileName = the pathname & "..\MTdata\pics\" & "infoSpecialThanks.pct"
- else
- member("TopicScreen").fileName = the pathname & ":MTdata:pics:" & vPicName
- member("banner").fileName = the pathname & ":MTdata:pics:" & vBanName
- member("banner2").fileName = the pathname & ":MTdata:pics:" & vBanName2
- member("infoCoreCats").fileName = the pathname & ":MTdata:pics:" & "infoCoreCats.pct"
- member("infoLegal").fileName = the pathname & ":MTdata:pics:" & "infoLegal.pct"
- member("infoMusic").fileName = the pathname & ":MTdata:pics:" & "infoMusic.pct"
- member("infoProduction").fileName = the pathname & ":MTdata:pics:" & "infoProduction.pct"
- member("infoSpecialThanks").fileName = the pathname & ":MTdata:pics:" & "infoSpecialThanks.pct"
- end if
- end
-